{/* LAYOUT模板 */}
<layout name="layout"/>
{/* LAYOUT模板 */}
{/* import Js,Css */}	
<css href="__THEMES__/css/common.css"/>
<css href="__PUBLIC__/css/jquery-ui.css" />
<css href="__THEMES__/css/user.css" />
<js href="__JS__/core/jquery-ui.1.10.4.js"/>
{/* import js,css */}
<include file="User:l_user_nav"/>
<style>
.inputBg{
	display: block;
	margin:auto;
	width: 200px;
	font-size: 14px;
	color: #555;
	height:25px;
	vertical-align: middle;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 0;
	color:#404040;
}
.selectbg{height:30px;width:200px;}
.w_50{width:60px;}
.bnt_blue_1 {display:block;margin:auto;width:100px;height:30px;border-radius:5px;cursor:pointer;}
/*表格样式*/table{max-width: 100%;background-color: transparent;}table.orders-table{width: 100%;border: 1px solid #ccc;border-collapse: collapse;margin-top: 20px;}table.orders-table th, table.orders-table td{height: 40px;text-align: center;border: 1px solid #ccc;vertical-align: middle;}table.orders-table th{background: #F7F9F9;}table.orders-table td{height: 60px;}table.my_prifile_table td{height: 40px;}
</style>
<!--用户中心导航-->

<div class="">
	<div class="w_1200 mp20 clearfix">
		<!--左边栏-->
		<div class="LBanner fl w20 clearfix">
			<include file="User:user_menu"/>
		</div>
		<!--左边栏-->
		<!--右边栏-->
		<div class="RBanner fr w79">
			<div class="xm-line-box uc-box hide">
				<div class="box-hd">
					<h3 class="title">
						我的订单
					</h3>
					<div class="more">
						<div class="uc-order-list-type">
							<a class="current" href="http://order.mi.com/user/order?r=87817961_t1410778176">
								全部订单
							</a>
							<span class="sep">
								|
							</span>
							<a href="http://order.mi.com/user/order/7?r=87817961_t1410778176">
								未支付订单
							</a>
							<span class="sep">
								|
							</span>
							<a href="http://order.mi.com/user/recharge?r=87817961_t1410778176">
								话费充值订单
							</a>
							<span class="sep">
								|
							</span>
							<a href="http://order.mi.com/user/order/5?r=87817961_t1410778176">
								已关闭订单
							</a>
						</div>
					</div>
				</div>
			</div>
			<!--右边对应左边栏内容-->
				<!-- 用户信息界面 start-->
					<if condition="$action eq 'profile'">
						<div class="xm-line-box uc-box">
							<div class="box-hd">
								<h3 class="title">
									我的个人信息
								</h3>
							</div>
							<div class="">
								<form name="formEdit" action="__URL__/edit_profile_ok" method="post" onSubmit="return userEdit()">
									<table class="member-grid orders-table my_prifile_table" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#dddddd">
										<tr>
											<td width="28%" align="right" >{$lang.birthday}： </td>
											<td width="72%" align="left"> 
												<!--时间日期-->
												<select class="selectbg w_50" name="birthdayYear">
													<for start="1954" end="2015" step="1">
														<option value='{$i}'>{$i}</option>		
													</for>
												</select>
												年
												<select class="selectbg w_50" name="birthdayMonth">
													<for start="1" end="13" step="1">
														<option value='{$i}'>{$i}</option>		
													</for>
												</select>
												月
												<select class="selectbg w_50" name="birthdayDay">
													<for start="1" end="32" step="1">
														<option value='{$i}'>{$i}</option>		
													</for>
												</select>
												日
												<!--时间日期-->
											</td>
										</tr>
										<tr>
											<td width="28%" align="right">{$lang.sex}： </td>
											<td width="72%" align="left">
												<input type="radio" name="sex" value="0" <if condition="$profile['sex'] eq 0">checked="checked"</if> />
												{$lang.secrecy}&nbsp;&nbsp;
												<input type="radio" name="sex" value="1" <if condition="$profile['sex'] eq 1">checked="checked"</if> />
												{$lang.male}&nbsp;&nbsp;
												<input type="radio" name="sex" value="2" <if condition="$profile['sex'] eq 2">checked="checked"</if> />
												{$lang.female}&nbsp;&nbsp; 
											</td>
										</tr>
										<tr>
											<td width="28%" align="right">{$lang.email}： </td>
											<td width="72%" align="left">
												<input name="email" type="text" value="{$profile.email}" size="25" class="inputBg" />
												<span style="display:none;color:#FF0000"> *</span>
											</td>
										</tr>
										<volist name="extend_info_list" id="field">
											<if condition="$field['id'] eq 6">
												<tr>
													<td width="28%" align="right">{$lang.passwd_question}：</td>
													<td width="72%" align="left">
														<select class="selectbg" name='sel_question'>
															<option value='0'>{$lang.sel_question}</option>		
															<volist name="passwd_questions" id="question">
																<option value='{$key}' <if condition="$key eq $profile['passwd_question']">selected</if> >{$question}</option>	
															</volist>
														</select>
													</td>
												</tr>
												<tr>
													<td width="28%" align="right" <if condition="$field['i_need']">id="passwd_quesetion"</if> >
														{$lang.passwd_answer}：
													</td>
													<td width="72%" align="left">
														<input name="passwd_answer" type="text" size="25" class="inputBg" maxlengt='20' value="{$profile.passwd_answer}"/>
														<if condition="$field['is_need']">
															<span style="display:none;color:#FF0000"> *</span>
														</if>
													</td>
												</tr>
											<else/>
												<tr>
													<td width="28%" align="right"  <if condition="$field['is_need']">id="extend_field{$field.id}"</if> >
														{$field.reg_field_name}：
													</td>
													<td width="72%" align="left">
														<input name="extend_field{$field.id}" type="text" class="inputBg" value="{$field.content}"/>
														<if condition="$field['is_need']">
															<span style="display:none;color:#FF0000"> *</span>
														</if>
													</td>
												</tr>
											</if>
										</volist>
										<tr>
											<td colspan="2" align="center">
												<input name="act" type="hidden" value="act_edit_profile" />
												<input name="submit" type="submit" value="确定" class="bnt_blue_1" style="border:none;" />
											</td>
										</tr>
									</table>
								</form>
								<form name="formPassword" action="__URL__/edit_password_ok" method="post" onSubmit="return editPassword()" >
									<table class="member-grid orders-table my_prifile_table" width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#dddddd">
										<tr>
											<td width="28%" align="right">{$lang.old_password}：</td>
											<td width="76%" align="left" >
												<input name="old_password" type="password" size="25"  class="inputBg" />
											</td>
										</tr>
										<tr>
											<td width="28%" align="right" >{$lang.new_password}：</td>
											<td align="left" >
												<input name="new_password" type="password" size="25"  class="inputBg" />
											</td>
										</tr>
										<tr>
											<td width="28%" align="right" >{$lang.confirm_password}：</td>
											<td align="left" >
												<input name="comfirm_password" type="password" size="25"  class="inputBg" />
											</td>
										</tr>
										<tr>
											<td colspan="2" align="center" >
												<input name="act" type="hidden" value="act_edit_password" />
												<input name="submit" type="submit" class="bnt_blue_1" style="border:none;" value="确定" />
											</td>
										</tr>
									</table>
								</form>
							</div>
						</div>
					</if>
				<!--#用户信息界面 end-->				
			<!--右边对应左边栏内容-->
		</div>
		<!--右边栏-->
	</div>
</div>
<!--用户中心导航-->
<div class="space100" style="height:100px;"></div>

<include file="Library:service"/>
<include file="Library:footer"/>





